using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace CommandPatternApp
{
    public class SaveFileCmd : BaseCmd
    {
        public SaveFileCmd(TextEditor editor, CmdFactory factory)
            : base(editor, factory)
        {
        }

        public override void Execute()
        {
            _editor.SaveFile();    
        }
    }
}
